package com.rex.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by frt on 2017/11/2.
 * 统一异常处理
 */
@RestController
@RequestMapping(value = "/exception")
public class ExceptionController {
    @RequestMapping(value = "/testException")
    public void testException(){
        String str = null;
        str.length();
    }
}
